package com.love.marriage.common.enums;

/**
 * description:  消费类型
 * author:       majf
 * createDate:   2024/10/17 10:30
 * version:      1.0.0
 */
public enum TransactionType {

    MEMBERSHIP_PURCHASE("membership_purchase", "会员购买"),
    RECHARGE("recharge", "充值"),

    REDUCE_RECHARGE("reduceRecharge", "消费余额"),
    // 打赏
    REWARD("reward", "打赏"),
    JOIN_EVENT("joinEvent", "参加活动"),
    START_DATING("startDating", "发起约会"),
    JOIN_DATING("joinDating", "应邀"),

    COMMISSION("commission", "回佣"),

    GET_PHONE("getPhone", "获取电话"),
    TOP("top", "置顶"),
    // 通话
    CALL("call", "通话"),
    // 聊天
    CHAT("chat", "聊天");

    private String code;
    private String value;

    TransactionType(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
